USE [HomestayWebDB]
GO
/****** Object:  StoredProcedure [dbo].[Store_Image_GetImagesOfPost]    Script Date: 11/26/2012 16:33:52 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

ALTER PROCEDURE [dbo].[Store_Image_GetImagesOfPost]
	@PostID int
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;
	SELECT  i.ImageID,i.ImageName
	FROM Images i
	WHERE i.PostID=@PostID 
		
END
